//package com.lmx.repoDomain.model;
//
//import io.katharsis.resource.annotations.JsonApiResource;
//import io.katharsis.resource.annotations.JsonApiToMany;
//
//import java.util.ArrayList;
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//import javax.persistence.CascadeType;
//import javax.persistence.Column;
//import javax.persistence.Entity;
//import javax.persistence.FetchType;
//import javax.persistence.OneToMany;
//import javax.persistence.Table;
//
//@JsonApiResource(type = "typegroup")
//@Entity
//@Table(name = "t_s_typegroup")
//public class Typegroup extends BaseDataEntity {
//	public static Map<String, Typegroup> allTypeGroups = new HashMap<String, Typegroup>();
//	public static Map<String, List<Dicttype>> allTypes = new HashMap<String, List<Dicttype>>();
//
//	private String typegroupcode;// 分组编码
//	private String typegroupname;// 分组名称
//	private List<Dicttype> types = new ArrayList<Dicttype>();
//	private String remark;// 备注
//
//	@Column(name = "typegroupname", length = 50)
//	public String getTypegroupname() {
//		return this.typegroupname;
//	}
//
//	public void setTypegroupname(String typegroupname) {
//		this.typegroupname = typegroupname;
//	}
//
//	@Column(name = "typegroupcode", length = 50)
//	public String getTypegroupcode() {
//		return this.typegroupcode;
//	}
//
//	public void setTypegroupcode(String typegroupcode) {
//		this.typegroupcode = typegroupcode;
//	}
//
//	@JsonApiToMany
//	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "typegroup")
//	public List<Dicttype> getTypes() {
//		return this.types;
//	}
//
//	public void setTypes(List<Dicttype> types) {
//		this.types = types;
//	}
//
//	@Column(name = "remark")
//	public String getRemark() {
//		return remark;
//	}
//
//	public void setRemark(String remark) {
//		this.remark = remark;
//	}
//}